package com.pets.service;

import com.pets.entity.Users;
import com.pets.qo.AuditApplyQO;
import com.pets.util.Result;
import com.pets.vo.UserListVO;

import java.util.List;

/**
 * 后台管理系统操作用户service
 */
public interface AdminUsersService {
    /**
     * 获取所有用户
     * @return
     */
    List<UserListVO> getUserlist();

    /**
     * 修改用户状态（启用或者禁用）
     * @param uId
     * @param status
     * @return
     */
    Result editUserStatus(int uId, int status);

    /**
     * 审核申请操作
     * @param auditApplyQO
     * @return
     */
    Result auditApply(AuditApplyQO auditApplyQO);
}
